﻿@model Chbl.Models.Game

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Game</legend>

    <div class="display-label">HomeTeam</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.HomeTeam.Name)
    </div>

    <div class="display-label">RoadTeam</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.RoadTeam.Name)
    </div>

    <div class="display-label">Date</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Date)
    </div>

    <div class="display-label">GameOrder</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.GameOrder)
    </div>

    <div class="display-label">TourNumber</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.TourNumber)
    </div>

    <div class="display-label">SeasonDivision</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SeasonDivision.SeasonDivisionId)
    </div>

    <div class="display-label">HomeScore</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.HomeScore)
    </div>

    <div class="display-label">RoadScore</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.RoadScore)
    </div>

    <div class="display-label">Score</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Score)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
